package cn.stylefeng.guns.modular.productfunction.entity;

import cn.stylefeng.guns.modular.productfunction.model.result.ShiProductFunctionResult;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 *   产品功能表
 * </p>
 *
 * @author 石博士
 * @since 2019-07-05
 */
@TableName("shi_product_function")
public class ShiProductFunction extends ShiProductFunctionResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品功能表，id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品名称
     */
    @TableField("name")
    private String name;

    /**
     * 头部功能，关联头部表
     */
    @TableField("heads")
    private Long heads;

    /**
     * 肩部功能，关联肩部表
     */
    @TableField("shoulder")
    private Long shoulder;

    /**
     * 背部功能，关联背部表
     */
    @TableField("backs")
    private Long backs;

    /**
     * 臀部功能，关联臀部表
     */
    @TableField("buttocks")
    private Long buttocks;

    /**
     * 扶手功能，关联扶手表
     */
    @TableField("handrail")
    private Long handrail;

    /**
     * 小腿功能，关联小腿表
     */
    @TableField("calfs")
    private Long calfs;

    /**
     * 附加功能，关联附加表
     */
    @TableField("appends")
    private Long appends;

    /**
     * 基本参数，关联基本参数表
     */
    @TableField("basic_parameter")
    private Long basicParameter;

    /**
     * 产品规格，关联规格表
     */
    @TableField("product_specification")
    private Long productSpecification;

    /**
     * 产品备注
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 外键关联产品品号表 product_order_id
     */
    @TableField("product_order_id")
    private Long productOrderId;




    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getHeads() {
        return heads;
    }

    public void setHeads(Long heads) {
        this.heads = heads;
    }

    public Long getShoulder() {
        return shoulder;
    }

    public void setShoulder(Long shoulder) {
        this.shoulder = shoulder;
    }

    public Long getBacks() {
        return backs;
    }

    public void setBacks(Long backs) {
        this.backs = backs;
    }

    public Long getButtocks() {
        return buttocks;
    }

    public void setButtocks(Long buttocks) {
        this.buttocks = buttocks;
    }

    public Long getHandrail() {
        return handrail;
    }

    public void setHandrail(Long handrail) {
        this.handrail = handrail;
    }

    public Long getCalfs() {
        return calfs;
    }

    public void setCalfs(Long calfs) {
        this.calfs = calfs;
    }

    public Long getAppends() {
        return appends;
    }

    public void setAppends(Long appends) {
        this.appends = appends;
    }

    public Long getBasicParameter() {
        return basicParameter;
    }

    public void setBasicParameter(Long basicParameter) {
        this.basicParameter = basicParameter;
    }

    public Long getProductSpecification() {
        return productSpecification;
    }

    public void setProductSpecification(Long productSpecification) {
        this.productSpecification = productSpecification;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getProductOrderId() {
        return productOrderId;
    }

    public void setProductOrderId(Long productOrderId) {
        this.productOrderId = productOrderId;
    }



    @Override
    public String toString() {
        return "ShiProductFunction{" +
        "id=" + id +
        ", name=" + name +
        ", heads=" + heads +
        ", shoulder=" + shoulder +
        ", backs=" + backs +
        ", buttocks=" + buttocks +
        ", handrail=" + handrail +
        ", calfs=" + calfs +
        ", appends=" + appends +
        ", basicParameter=" + basicParameter +
        ", productSpecification=" + productSpecification +
        ", remarks=" + remarks +
        ", productOrderId="+ productOrderId +
        "}";



    }
}
